package com.jd.learn.core.key;

import java.util.List;

/**
 * @author shenkaiwen5
 * @version 1.0
 * @date 2020/12/25
 */
public interface IKeyCollector<T, V> {
    /**
     * 取
     */
    List<V> lockAndGetResult();
    /**
     * 存
     */
    void collect(T c);
}
